import React, { Component } from 'react';


import { ThemeContext } from './createContext';

class View extends Component{

    // static contextType = ThemeContext;
    render(){
        console.log(this.context)
        return (
            <div className="m">
                <h3>内容1</h3>
            </div>
        )
    }
}
View.contextType = ThemeContext;






export default View;
